package com.wonder.app.domain;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description:TODO(流水号)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user_serial")
@ApiModel(value="t_user_serial对象", description="流水号标识")
public class Serial extends Model<Serial> {
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "userId")
    @ApiModelProperty(name = "userId" , value = "员工id")
    private Long userId;

    @TableField(value = "serial")
    @ApiModelProperty(name = "serial" , value = "流水号")
    private Integer serial;

    @TableField(value = "tray")
    @ApiModelProperty(name = "tray" , value = "托盘编号")
    private String tray;


    @TableField(value = "Date")
    @ApiModelProperty(name = "Date" , value = "创建时间")
    private Date Date;

    @TableField(value = "specification")
    @ApiModelProperty(name = "specification" , value = "件号")
    private String specification;


}
